export const setGrade = (grade: string) => {
  let grademid;
  if (grade === '1') {
    grademid = '一年级';
  }
  if (grade === '2') {
    grademid = '二年级';
  }
  if (grade === '3') {
    grademid = '三年级';
  }
  if (grade === '4') {
    grademid = '四年级';
  }
  if (grade === '5') {
    grademid = '五年级';
  }
  if (grade === '6') {
    grademid = '六年级';
  }
  if (grade === '7') {
    grademid = '七年级';
  }
  if (grade === '8') {
    grademid = '八年级';
  }
  if (grade === '9') {
    grademid = '九年级';
  }

  return grademid;
};

const setFasciculemid = (fascicule: string) => {
  let fasciculemid = '';
  if (fascicule === '1') {
    fasciculemid = '上册';
  }
  if (fascicule === '2') {
    fasciculemid = '下册';
  }
  return fasciculemid;
};
